x86: don't map more than the allocated space for frame_table
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:35:32 +0000 (15:35 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:35:32 +0000 (15:35 +0100)
commit72d202e34c7a75d6f255751e5c55c01d1595ab11
tree17fb9a1e7cf8856c4fc1da1e890672908e8c6d52
parent66a8421ec67628640e1b98a1c3e7836a46e4d6bb
x86: don't map more than the allocated space for frame_table

This is to avoid undue virtual address aliases in case the over-mapped
pages happen to get allocated to a domain, and then get their
cacheability attributes changed.

At the same time, use 1Gb mappings if possible and reasonable.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c